import React from "react"
import NavBar from "./NavBar"
import NavBar2 from "./NavBar2"

export default class App extends React.Component {
    constructor(props) {
        super(props);
    }

    render() {
        return (
            <div>
                <NavBar>
                    <span>左</span>
                    <strong>中</strong>
                    <a href="/#">右</a>
                </NavBar>
                <NavBar2 leftSolt={<span>左</span>}
                    centerSolt={<strong>中</strong>}
                    rightSolt={<a href="/#">右</a>}
                />
            </div>
        )
    }
}